Fix rerunning rustdoc when output deleted
authorAlex Crichton <alex@alexcrichton.com>
Tue, 8 Mar 2016 05:51:44 +0000 (21:51 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 8 Mar 2016 05:52:32 +0000 (21:52 -0800)
commit2c089cf6dda04854e5bbf38ce9f24335eb745908
treec42fb3a112d4814345d0190f518e4bf3e76cc97f
parent5cb45a93636a23e47d281fe3e53ad284f2bb63e6
Fix rerunning rustdoc when output deleted

If `crate/index.html` is missing, we need to rerun rustdoc!

Closes #2379
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/fingerprint.rs
src/cargo/ops/cargo_rustc/layout.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_doc.rs